package com.znsd.entitys;

import java.io.Serializable;
import java.util.Date;

public class Course implements Serializable {
	
	/**
	 * @Fields serialVersionUID : TODO(序列化id)
	 */
	private static final long serialVersionUID = 1L;
	
	private Integer course_id;
	private String course_name;
	private Integer specialty_id;
	private Date course_createtime;
	private Integer user_id;
	private Chapter chapter;
	
	public Chapter getGrade() {
		return chapter;
	}

	public void setGrade(Chapter chapter) {
		this.chapter = chapter;
	}

	private Integer course_state;
	
	public Integer getCourse_id() {
		return course_id;
	}

	public void setCourse_id(Integer course_id) {
		this.course_id = course_id;
	}

	public String getCourse_name() {
		return course_name;
	}

	public void setCourse_name(String course_name) {
		this.course_name = course_name;
	}

	public Integer getSpecialty_id() {
		return specialty_id;
	}

	public void setSpecialty_id(Integer specialty_id) {
		this.specialty_id = specialty_id;
	}

	public Date getCourse_createtime() {
		return course_createtime;
	}

	public void setCourse_createtime(Date course_createtime) {
		this.course_createtime = course_createtime;
	}

	public Integer getUser_id() {
		return user_id;
	}

	public void setUser_id(Integer user_id) {
		this.user_id = user_id;
	}

	public Integer getCourse_state() {
		return course_state;
	}

	public void setCourse_state(Integer course_state) {
		this.course_state = course_state;
	}

	@Override
	public String toString() {
		return "Course [course_id=" + course_id + ", course_name=" + course_name + ", specialty_id=" + specialty_id
				+ ", course_createtime=" + course_createtime + ", user_id=" + user_id + ", chapter=" + chapter
				+ ", course_state=" + course_state + "]";
	}
}
